using Microsoft.JSInterop;
using System.Threading.Tasks;

namespace BlazorSodDbManager.Services
{
    public class JSInteropService : IJSInteropService
    {
        private readonly IJSRuntime _jsRuntime;

        public JSInteropService(IJSRuntime jsRuntime)
        {
            _jsRuntime = jsRuntime;
        }

        public async Task InitializeBootstrapComponents()
        {
            await _jsRuntime.InvokeVoidAsync("initializeBootstrapComponents");
        }
    }
} 